package com.hp.goods_service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hp.common_api.entity.Goods;
import com.hp.common_api.entity.Spu;

/**
 * <p>
 * spu表，该表描述的是一个抽象性的商品，比如 iphone8 服务类
 * </p>
 *
 * @author xray
 * @since 2021-04-23
 */
public interface ISpuService extends IService<Spu> {

    IPage<Spu> getSpuPage(Page<Spu> page);

    void saveSpu(Goods spu);
}
